From a7e459d0f7308458a56f24e8a0f2a01114ecb9c1 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 21 Jun 2005 06:15:46 +0000 Subject: [PATCH] malloc->xmalloc. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1207 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/kml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index 4fd3a8616..d7c5fa356 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -208,7 +208,7 @@ static void kml_output_header(const route_head *header) // Create an array for holding waypoint coordinates so that we // can produce a LineString at the end. - point3d_list = (point3d *) malloc(header->rte_waypt_ct * sizeof(point3d)); + point3d_list = (point3d *) xmalloc(header->rte_waypt_ct * sizeof(point3d)); point3d_list_len = 0; } -- 2.30.2